package com.yincheng.oes.business.group.model.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: yangsy
 * @Contact: 446948434@qq.com
 * @Date: 2021/8/22 21:15
 * @Version: 1.0
 * @Description:
 */
public class UserPaperExcelTitleDTO {

    /**
     * 试卷名称
     */
    private String paperName;

    /**
     * 得分率
     */
    private final String scoreRate = "得分率";

    /**
     * 正确/总题
     */
    private final String correctDivideTotal = "正确/总题";

    /**
     * 完成时间 yyyy年MM月DD日 HH:mm
     */
    private final String finishTime = "时间";

    public List<String> getChildTitles() {
        List<String> childTitles = new ArrayList<>();
        childTitles.add(scoreRate);
        childTitles.add(correctDivideTotal);
        childTitles.add(finishTime);
        return childTitles;
    }

    public String getPaperName() {
        return paperName;
    }

    public void setPaperName(String paperName) {
        this.paperName = paperName;
    }

    public String getScoreRate() {
        return scoreRate;
    }

    public String getCorrectDivideTotal() {
        return correctDivideTotal;
    }

    public String getFinishTime() {
        return finishTime;
    }

    @Override
    public String toString() {
        return "UserPaperExcelTitleDto{" +
                "paperName='" + paperName + '\'' +
                ", scoreRate='" + scoreRate + '\'' +
                ", correctDivideTotal='" + correctDivideTotal + '\'' +
                ", finishTime='" + finishTime + '\'' +
                '}';
    }
}
